home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Programming / mpatrol / extra / .gdbinit
Text File  |  2000-05-16  |  1KB  |  33 lines

  1. # mpatrol
  2. # A library for controlling and tracing dynamic memory allocations.
  3. # Copyright (C) 1997-2000 Graeme S. Roy <graeme@epc.co.uk>
  4. #
  5. # This library is free software; you can redistribute it and/or
  6. # modify it under the terms of the GNU Library General Public
  7. # License as published by the Free Software Foundation; either
  8. # version 2 of the License, or (at your option) any later version.
  9. #
  10. # This library is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  13. # Library General Public License for more details.
  14. #
  15. # You should have received a copy of the GNU Library General Public
  16. # License along with this library; if not, write to the Free
  17. # Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  18. # MA 02111-1307, USA.
  19.  
  20.  
  21. # GDB command file for use with mpatrol
  22.  
  23.  
  24. # $Id: .gdbinit,v 1.1 2000/04/13 18:52:53 graeme Exp $
  25.  
  26.  
  27. define printalloc
  28. call __mp_printinfo($arg0)
  29. end
  30. document printalloc
  31. Displays information about an address in the heap.
  32. end
  33.